package com.partners.service;

import com.partners.model.Member;
import com.partners.model.TokenCodeModel;

import javax.servlet.http.HttpServletRequest;
import java.util.Map;

/**
 * @author liangyongle
 * @date 2019-01-14
 */
public interface TokenServer {
    //Map<String,Object> createToken(String openId, HttpServletRequest request);

//    Member getMemberByToken(String token);
//
//    TokenCodeModel createAndSaveToken(String openId);

    Member createToken(Integer uid);
}
